package com.yzt.zhuju.rongyun;

/**
 * author : bob
 * date   : 2022/12/2
 * desc   :
 */
public class ChatRoomMessage {

    public int msgId;
    public int type;
    public String content;
    public String extra;
    public long deltaTime;
    public String targetId;

    public ChatRoomMessage(int type, int msgId, String content, String extra, long deltaTime,String targetId) {
        this.type = type;
        this.msgId = msgId;
        this.content = content;
        this.extra = extra;
        this.deltaTime = deltaTime;
        this.targetId = targetId;
    }

    @Override
    public String toString() {
        return "ChatRoomMessage{" +
                "msgId=" + msgId +
                ", type=" + type +
                ", content='" + content + '\'' +
                ", extra='" + extra + '\'' +
                ", deltaTime=" + deltaTime +
                ", targetId='" + targetId + '\'' +
                '}';
    }
}
